package cn.alcatraz.org.domain;

import cn.alcatraz.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {


    //员工名称
    private String username;
    //员工电话
    private String phone;
    //员工邮箱
    private String email;
    //员工密码盐值
    private String salt;
    //加密后的密码
    private String password;
    //员工年龄
    private Integer age;
    //状态
    private Integer state;
    //所属部门Id
    private Long departmentId;
    //登录表的主键
    private Long logininfoId;
    //所属店铺Id
    private Long shopId;

    private Department department;

    // 员工验证密码字段
    private String comfirmPassword;

    private List<Long> roles;
}
